// unsafe { TODO: call ffi:ostree_sysroot_cleanup_prune_repo() }
//}
+ #[cfg(feature = "v2025_3")]
+ #[cfg_attr(docsrs, doc(cfg(feature = "v2025_3")))]
#[doc(alias = "ostree_sysroot_clear_soft_reboot")]
pub fn clear_soft_reboot(&self, cancellable: Option<&impl IsA<gio::Cancellable>>) -> Result<(), glib::Error> {
unsafe {
}
}
+ #[cfg(feature = "v2025_3")]
+ #[cfg_attr(docsrs, doc(cfg(feature = "v2025_3")))]
#[doc(alias = "ostree_sysroot_deployment_can_soft_reboot")]
pub fn deployment_can_soft_reboot(&self, deployment: &Deployment) -> bool {
unsafe {
}
}
+ #[cfg(feature = "v2025_3")]
+ #[cfg_attr(docsrs, doc(cfg(feature = "v2025_3")))]
#[doc(alias = "ostree_sysroot_deployment_set_soft_reboot")]
pub fn deployment_set_soft_reboot(&self, deployment: &Deployment, allow_kernel_skew: bool, cancellable: Option<&impl IsA<gio::Cancellable>>) -> Result<(), glib::Error> {
unsafe {
#[cfg(feature = "v2018_3")]
#[cfg_attr(docsrs, doc(cfg(feature = "v2018_3")))]
pub fn ostree_deployment_is_pinned(self_: *mut OstreeDeployment) -> gboolean;
+ #[cfg(feature = "v2025_3")]
+ #[cfg_attr(docsrs, doc(cfg(feature = "v2025_3")))]
pub fn ostree_deployment_is_soft_reboot_target(self_: *mut OstreeDeployment) -> gboolean;
#[cfg(feature = "v2018_3")]
#[cfg_attr(docsrs, doc(cfg(feature = "v2018_3")))]
cancellable: *mut gio::GCancellable,
error: *mut *mut glib::GError,
) -> gboolean;
+ #[cfg(feature = "v2025_3")]
+ #[cfg_attr(docsrs, doc(cfg(feature = "v2025_3")))]
pub fn ostree_sysroot_clear_soft_reboot(
self_: *mut OstreeSysroot,
cancellable: *mut gio::GCancellable,
cancellable: *mut gio::GCancellable,
error: *mut *mut glib::GError,
) -> gboolean;
+ #[cfg(feature = "v2025_3")]
+ #[cfg_attr(docsrs, doc(cfg(feature = "v2025_3")))]
pub fn ostree_sysroot_deployment_can_soft_reboot(
self_: *mut OstreeSysroot,
deployment: *mut OstreeDeployment,
is_pinned: gboolean,
error: *mut *mut glib::GError,
) -> gboolean;
+ #[cfg(feature = "v2025_3")]
+ #[cfg_attr(docsrs, doc(cfg(feature = "v2025_3")))]
pub fn ostree_sysroot_deployment_set_soft_reboot(
self_: *mut OstreeSysroot,
deployment: *mut OstreeDeployment,